home *** CD-ROM | disk | FTP | other *** search
/ Champak 33 / Volume 33 - JOGO DISK .iso / Games / santas_deed.swf / scripts / frame_11 / DoAction.as
Text File  |  2007-01-15  |  5KB  |  179 lines

  1. var ┬º\x01┬º = 306;
  2. while(true)
  3. {
  4.    if(eval("\x01") == 306)
  5.    {
  6.       set("\x01",eval("\x01") - 148);
  7.       ┬º┬ºpush(true);
  8.    }
  9.    else if(eval("\x01") == 591)
  10.    {
  11.       set("\x01",eval("\x01") + 129);
  12.       if(┬º┬ºpop())
  13.       {
  14.          set("\x01",eval("\x01") - 560);
  15.       }
  16.    }
  17.    else if(eval("\x01") == 124)
  18.    {
  19.       set("\x01",eval("\x01") + 467);
  20.       ┬º┬ºpush(true);
  21.    }
  22.    else
  23.    {
  24.       if(eval("\x01") == 605)
  25.       {
  26.          set("\x01",eval("\x01") - 206);
  27.          ┬º┬ºpush(length(targetPath(┬º┬ºpop() + 1)) + 1);
  28.          break;
  29.       }
  30.       if(eval("\x01") == 938)
  31.       {
  32.          set("\x01",eval("\x01") - 303);
  33.          ┬º┬ºpush(true);
  34.       }
  35.       else
  36.       {
  37.          if(eval("\x01") == 538)
  38.          {
  39.             set("\x01",eval("\x01") - 414);
  40.             break;
  41.          }
  42.          if(eval("\x01") == 572)
  43.          {
  44.             set("\x01",eval("\x01") + 33);
  45.             if(┬º┬ºpop())
  46.             {
  47.                set("\x01",eval("\x01") - 206);
  48.             }
  49.          }
  50.          else
  51.          {
  52.             if(eval("\x01") == 183)
  53.             {
  54.                set("\x01",eval("\x01") + 681);
  55.                ifFrameLoaded(┬º┬ºpop())
  56.                {
  57.                }
  58.             }
  59.             if(eval("\x01") == 663)
  60.             {
  61.                set("\x01",eval("\x01") - 33);
  62.                stop();
  63.                ┬º┬ºpush(int(┬º┬ºpop()));
  64.                break;
  65.             }
  66.             if(eval("\x01") == 630)
  67.             {
  68.                set("\x01",eval("\x01") - 136);
  69.                ┬º┬ºpush(true);
  70.             }
  71.             else if(eval("\x01") == 559)
  72.             {
  73.                set("\x01",eval("\x01") + 104);
  74.                if(┬º┬ºpop())
  75.                {
  76.                   set("\x01",eval("\x01") - 33);
  77.                }
  78.             }
  79.             else if(eval("\x01") == 494)
  80.             {
  81.                set("\x01",eval("\x01") - 311);
  82.                if(┬º┬ºpop())
  83.                {
  84.                   set("\x01",eval("\x01") + 681);
  85.                }
  86.             }
  87.             else if(eval("\x01") == 615)
  88.             {
  89.                set("\x01",eval("\x01") - 56);
  90.                ┬º┬ºpush(true);
  91.             }
  92.             else if(eval("\x01") == 635)
  93.             {
  94.                set("\x01",eval("\x01") - 97);
  95.                if(┬º┬ºpop())
  96.                {
  97.                   set("\x01",eval("\x01") - 414);
  98.                }
  99.             }
  100.             else
  101.             {
  102.                if(eval("\x01") == 122)
  103.                {
  104.                   set("\x01",eval("\x01") + 816);
  105.                   break;
  106.                }
  107.                if(eval("\x01") == 734)
  108.                {
  109.                   set("\x01",eval("\x01") - 86);
  110.                   if(┬º┬ºpop())
  111.                   {
  112.                      set("\x01",eval("\x01") - 33);
  113.                   }
  114.                }
  115.                else if(eval("\x01") == 864)
  116.                {
  117.                   set("\x01",eval("\x01") - 292);
  118.                   ┬º┬ºpush(true);
  119.                }
  120.                else
  121.                {
  122.                   if(eval("\x01") == 648)
  123.                   {
  124.                      set("\x01",eval("\x01") - 33);
  125.                      break;
  126.                   }
  127.                   if(eval("\x01") == 399)
  128.                   {
  129.                      set("\x01",eval("\x01") + 64);
  130.                      LOADERCOUNTER++;
  131.                      T = this.getBytesTotal();
  132.                      L = this.getBytesLoaded();
  133.                      PCT1 = L / T;
  134.                      PCT2 = LOADERCOUNTER / LOADERCOUNTERTOTAL;
  135.                      if(PCT1 > PCT2)
  136.                      {
  137.                         L = PCT2 * T;
  138.                      }
  139.                      if(L < T)
  140.                      {
  141.                         gotoAndPlay(10);
  142.                         loader_mc.updateProgress(L,T);
  143.                      }
  144.                      else
  145.                      {
  146.                         gotoAndStop("dummy");
  147.                         play();
  148.                      }
  149.                      break;
  150.                   }
  151.                   if(eval("\x01") == 160)
  152.                   {
  153.                      set("\x01",eval("\x01") + 574);
  154.                      ┬º┬ºpush(true);
  155.                   }
  156.                   else
  157.                   {
  158.                      if(eval("\x01") == 720)
  159.                      {
  160.                         set("\x01",eval("\x01") - 560);
  161.                         break;
  162.                      }
  163.                      if(eval("\x01") != 158)
  164.                      {
  165.                         break;
  166.                      }
  167.                      set("\x01",eval("\x01") - 36);
  168.                      if(┬º┬ºpop())
  169.                      {
  170.                         set("\x01",eval("\x01") + 816);
  171.                      }
  172.                   }
  173.                }
  174.             }
  175.          }
  176.       }
  177.    }
  178. }
  179.